/*
 * =====================================================================================
 *
 *       Filename:  HighScoreDecorator.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/06/2022 04:35:33 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include "HighScoreDecorator.h"
#include <iostream>
using std::cout;
using std::endl;

CHighScoreDecorator::CHighScoreDecorator(ISchoolReport* psr): CReportDecorator(psr) {
}

CHighScoreDecorator::~CHighScoreDecorator(void) {
}

void CHighScoreDecorator::Report() {
    this->ReportHighScore();
    this->CReportDecorator::Report();
}

void CHighScoreDecorator::ReportHighScore() {
    cout << "这次考试语文最高是75， 数学是78， 自然是80" << endl;
}
